home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / gnu / gcctest / tests05.zoo / Makefile.sun < prev    next >
Makefile  |  1993-03-02  |  604b  |  32 lines

  1. #
  2. # Makefile for Sun OS 4.0.3
  3. #    half the tests can be done because there are no ANSI libs
  4. #
  5. SRC = float1.c tatof.c tbcopy.c tctype.c tprintf.c tqsort.c trandm.c trdwr.c \
  6. tscanf.c tsetjm.c tsignl.c tstdio.c   twrseek.c tfseek.c
  7.  
  8.  
  9. .SUFFIXES: .ttp
  10.  
  11. .c.ttp:
  12.     $(CC) $(CFLAGS) -o $*.ttp $*.c strerror.o
  13.  
  14. CC= gcc
  15. CFLAGS = -O2 -g  -D_BSD
  16.  
  17. ALL = $(SRC:.c=.ttp)
  18.  
  19. all : $(ALL)
  20.  
  21. $(ALL) : strerror.o
  22.  
  23. # writable strings needed for tstdio for sscanf() in sr_test()
  24. tstdio.ttp: tstdio.c
  25.     $(CC) $(CFLAGS) -fwritable-strings -o tstdio.ttp tstdio.c
  26.  
  27. clean:
  28.     rm -f *.o
  29.  
  30. realclean: clean
  31.     rm -f $(ALL) core report clean
  32.